package com.deng.api.jwt;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取application文件中jwt的配置信息的
 */
@Data
@Component
@ConfigurationProperties(prefix = "jwt")
public class JWTConfig {

    public String secret;
    public String header;
    public String tokenHead;
    public long expiration;
    public String antMatchers;

}

